import React, { useState } from 'react'
import TestClassHook from './components/TestClassHook'
import fn from './testHook'
export default function App() {
    // 有条件个数不确定不行
    // if(true){
    //     let [count,setCount] = useState(10)
    // }
    // if(true) return;
    // let [count,setCount] = useState(10)

    // for(let i = 0; i <10; i++){
    //     let [count,setCount] = useState(10)
    // }
    
    return (
        <>
            <h3>hook规则</h3>
            {/* <TestClassHook/> */}
        </>
    )
}
